Make Xen version numbers more flexible.
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Mon, 8 May 2006 15:41:22 +0000 (16:41 +0100)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Mon, 8 May 2006 15:41:22 +0000 (16:41 +0100)
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
xen/Makefile

index a349fd43de770d487cd83b804cc55c29fc79c7c0..277ee87603a70ffffceb98f626031e07fa9358f7 100644 (file)
@@ -1,9 +1,10 @@
 # This is the correct place to edit the build version.
 # All other places this is stored (eg. compile.h) should be autogenerated.
-export XEN_VERSION      := 3
-export XEN_SUBVERSION   := 0
-export XEN_EXTRAVERSION := -unstable
-export XEN_FULLVERSION  := $(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION)
+export XEN_VERSION       = 3
+export XEN_SUBVERSION    = 0
+export XEN_EXTRAVERSION ?= -unstable
+export XEN_FULLVERSION   = $(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION)
+-include xen-version
 
 export BASEDIR := $(CURDIR)